package com.ymatou.iapi.marketingmanage.parameter;
import java.math.BigDecimal;

import com.ymatou.c2cliveindexer.parameter.LiveSearchReturnBean;
import com.ymt.base.BaseBean;
/**
*活动内容列表
*FreeMaker Template自动生成代码
*/
public class PromotionValue extends BaseBean implements Comparable{
 
	/**满XXX件使用条件*/
	private Integer QtyCondition;
  	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#QtyCondition
	 */
	public Integer getQtyCondition(){
 
		return QtyCondition;
 
	}
 	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#QtyCondition
	 */
	public void setQtyCondition(Integer QtyCondition){
 
		this.QtyCondition = QtyCondition;
 
	}
	/**满XXX金额使用条件*/
	private BigDecimal AmountCondition;
  	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#AmountCondition
	 */
	public BigDecimal getAmountCondition(){
 
		return AmountCondition;
 
	}
 	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#AmountCondition
	 */
	public void setAmountCondition(BigDecimal AmountCondition){
 
		this.AmountCondition = AmountCondition;
 
	}
	/**满减金额/折扣,折扣场景下：9.9=99折、1=1折立减场景下：0.99=0.99元、0.1=0.1元*/
	private BigDecimal Value;
  	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#Value
	 */
	public BigDecimal getValue(){
 
		return Value;
 
	}
 	/**
	 * @see com.ymatou.iapi.marketingmanage.parameter.PromotionValue#Value
	 */
	public void setValue(BigDecimal Value){
 
		this.Value = Value;
 
	}
	@Override
	public int compareTo(Object o) {
		return this.getValue().compareTo(((PromotionValue) o).getValue());
	}
}
